marked transactions for FAT builds

Also: added FAT to the constant definitions of debug builds, to enable
debugging transactions
Style fixes

Now comes code review...