Worked on the saving function in level editor.