Transaction recorder improvements and tests

Also the log commit frequency is now configurable