BUGFIX: missing global ref
Flush pending driver inputs/messages at the end of a transaction
Might fix an obscure bug where input generated during one transaction
gets handled in the subsequent transaction
BUGFIX: WFC MAD Coupon has trans_type "T" and needs to be detected
and reversed as a tender
Code formatting/cleanup; no functional changes
BUGFIX: Tighter input checking on TT command to avoid grabbing other
inputs unintentionally