Win32 window runs ok on separate thread.