Make UserLog data consistency / size checks only when needed

Solves #1011.  This also removes the transaction code, which also should speed things up significantly.

@gimick Could you test as part of re-benchmarking?  I think this should be much faster.