Allow device reset with sysex message F0 01 F7.
Only send MIDI nodes when we can.

This prevents the Arduino from hanging or slowing down
when it is not connected to an application.
Fix compiler warnings.