Add error messages for failed transactions.
Merge remote-tracking branch 'master'
Add ui for last function.
Merge remote-tracking branch 'master'