Allow stacking of transactions

Closes #1166
Improved action methods
Fixed display of error messages