Vaguely-tested refactor+support for replaying autotick and random-choice events.