Add debug logging.  Enable VC_RENUM command to reboot firmware.
Debug ifdef.
Set g_transferred bytes before committing buffer to avoid callback
being called with invalid transferred bytes.