Initial implementation of the autosave plugin

Should be "Auto Save", not safe.