1. Improved terminate and transaction unit callback.  2. Corrected bug in ACK retransmit.