In autosave generation function, made time random between 0 and repeat-delay rather than 0 and default delay.