allow list selections to get first/last ticks
make midi input follow the concert pitch setting
Merge pull request #1091 from akdor1154/fixMidiCPPR

Fix #28781 and avoid selection.firstTick() segfault