Improved W32 SetForegroundWindow hacks.