BR: MidiKeyboardComponent adds invalid KeyPress to internal state

    for (char c : "awsedftgyhujkolp;")
        setKeyPressForNote (KeyPress (c, 0, 0), note++);

This loop includes the null terminator, which then adds KeyPress (0, 0, 0) to the internal state.