Only save index file if something has actually changed
Only update datastore save file if there have been changes, and change freeze interval default from 300 seconds to 10 seconds.