This seems to be a result of the song using all 16 channels for non-drum sounds, resulting in output ID 16 being mapped to MIDI 17 == 1, and screwing up the event type by ORing 1 to that nibble (so NOTE_OFF ends up becoming NOTE_ON and PITCH_BEND becoming some random file-breaking SYSEX).
This seems to be a result of the song using all 16 channels for non-drum sounds, resulting in output ID 16 being mapped to MIDI 17 == 1, and screwing up the event type by ORing 1 to that nibble (so NOTE_OFF ends up becoming NOTE_ON and PITCH_BEND becoming some random file-breaking SYSEX).