Version bump to 0.3.1
Exit with status 1 when interrupted
Debug output for transaction
Merge branch 'hotfix/0.3.1'