minor changes

made it so save interval is time based, not loop index based. not sure
what else I did…