Bugfixes and enhancements in transaction/output code.
Shrinked a string removal.