Major improvement in decoding logic, getting logic state
for the data before setting up for the next bit, rather than
processing it after.
Much more direct and appropriate.  It did work before but
interfered with the counting of bytes accurately at the end
of packets.