add menubar, save/load window position