Enable #define _PRINTTOSCREEN to try to find the origin of the weirdness in the TDC words etc.