Adds most functionality to the menu bar