fix whitespace
revert exit_at_end changes
add replay validation to unit tests

we save an automatic replay, then load it and try to play it.
this is the initial attempt.