Improve thread-safety of TrackManager track access - reduce the number of Track/MidiNote list instantiations by moving many midi operations to TrackManager