Grab and release input with ALT-G

Proposed change to fix issue #9 
ALT-g can now be used to release the exclusive grab.
After you press ALT-g you can move the mouse out of the window, press ALT-TAB to switch, ...
Press ALT-g again to get back in exclusive mode.