Add autosave frequency option.
Merge pull request #858 from gunstarpl/autosave_frequency

Autosave frequency option.