Cosmetic debug prints in sync, performance adjustments everywhere else in the code.

Biphase decoder is now able to synchronize data and clock. A resynchronization routine tries to fix synchronization slips. Can still be optimized further.

Now, more packets are decoded correctly.