Bugfix: Menu didn't work on Mac OS X
Bugfix: Main window wasn't focused on startup, on OS X