Ticket Machine, improved sanity checks