Serial.print() giving odd behaviour

Think about what you have just written. The same com port has the midi and debug messages coming to it. What do you think the serial console is going to display?

Easy check. - don't send the midi message and see if your "print" problem disappears.