Improved autosaver.