Fixed timing issues when keepInAllSpaces a window

and no more dependence on a custom keyboard shortcut.