improved the menu bar
add submenus and closable tabs