Modify editor quicksave and autosave to handle failure