added more debugging information

Firmware now prints bad messages verbatim, as well as dumping PWM
information when it arrives.