Implement quicksave and autosave for editor; fix #1935