Fix buffer overflow bug where wrptr == rdptr when full.
Optimize transmit timings for 13 tools.
Fix rx timings