XM1000: DEBUG on/off switch in xm1000-main