Remove deprecated ifdef'ing in MainWindow.hpp
Improvements circa tray icon and quitting on OSX

It was impossible to quit on OSX; the app would always hide to tray. Now
quitting is possible via the file menu or the dock icon or hotkey.

Also, when restoring from tray icon on OSX, take foreground.