Make app menu work

For the app menu to work, the window needs to be a
GtkApplicationWindow. Make it so.