add menus and toolbar.