Windows system hotkeys working / code looks ugly / prevent that only one window at a time is open