implement options.openWindow on windows.