fixed bug: was swapping first and second 3 bytes, rather than 6 bytes; added debug output;
fixed bug: was swapping first and second 3 bytes, rather than 6 bytes;
added debug output;

niksu/pax,niksu/pax,niksu/pax