menubar items added
unnecessary functions removed