Cosmetic items, plus two nice fixes courtesy of John Malsbury: (1) Fixed a bug where device seemed to be always asleep unless explicitly using sleep line, and (2) a race condition might cause RX data to be missed.