Fix Quit menu action behaviour on OSX

Quitting now closes the whole application, not just the current
window.  On other platform, Quit affects the current window only.
Add close menu item on OSX

Close closes the current window only. This is used
only on OSX.
Fix navigator HighDPI scaling