Moving tools menu event handlers over to the View class.