Replay log from memory now, not using a file anymore.
Remove some debug output
Some cleanup in PGMInterface