Remove OSX specific code

* Sadly this means trapping cmd-Q won't work for now