Adapt UI on OS X

We don't have a menu there, so we need to add more buttons in the nag
window. We also remove the "close" button from the log and setting
windows since they feel out of place on that platform.
Use hideEvent instead of overriding hide() in settings window

This ensures we get notified even if the window gets closed by the
window manager.