autosave, toggle from document config, closes #5