Added buttons for MapEditor, added actions for buttons, fixed silly bug.