Use unified title and toolbar on Mac
Fix compiler warnings
Mac build fixes

Compiling on OSX should now work. Running make install
will produce an app bundle in $CMAKE_PREFIX_PATH, but there
seems to be something missing still. Translations are not yet
installed in the right place.