BUG: handling of the transaction log was totally wrong, though easily solved
4 files changed