Log more replay debugging info and make global flags in unit tests easie...

...r to change.

Just cleaning house.