Win32 old crappy poll replacement: misc fixes