AutoSave fix + added some comments to code + started work on AutoPurge