Added Save and Save As functionality to the GUI.