Add window ID fallback for windows. 

- maybe someday use GetForegroundWindow() from User32.lib ...