fix the FIXME
infinite loop is still here
clean auto-save detection code. auto-save after loading the auto-save (in case the program re-crashes)