[PATCH] oleacc: Check proper UI thread for window focus.