Event replayer main loop.