New autosave feature

Autosave should save a file if:

  1. The distance became too large (higher than 10?)
  2. Or the last autosave happened a long time ago (> 1 hour maybe)