Ticket Machine, improved error handling