Started adding the save function
Also added checks to see if overwrite is happening
Merge branch 'editorSaving'