Added autosave feature (ultra beta)