os x backend

command-w does not seem to close the window.
-gideon