replaced mypromptbox with menubar
added history restore if current tag is selected