Added the ability to have a non-auto-flushing memlog. Flush is then a
manual process. Useful for triggering the dumping of the circular buffer when
an error is detected.
Resolve transition from catchup to follow mode.