Enable transaction transparency and subsumation

Also factor out debug-specific code from libTx.js