Handle exit message from window manager on Linux
Merge pull request #41 from jsimmons/master

Handle exit message from window manager on Linux