Fix Alt + Tab sometimes getting stuck in "alt tab again" mode
Refactor: Code Cleanup