added a DefaultMenuBar and loaded into mainwindow