An option(?) to only allow UNDO back as far as the last time the file was saved to disk by the user. Presumably, if the user writes to disk, they want the changes. UNDO tracking should be reset upon a save. Autosaves and the like do not count.