Added new autosave_restore_when_empty option to autosave plugin. Enabled by default.
Added reset rule for box model.