Use GtkHeaderBar for the main window

Still needed on the print dialogs.

Also, do not hide the titlebar when maximized.