remove two menus, get app to quit when window closes