add client-callable fail! method for transactions; use it to clean up examples