Correct comment
Use existing function for conversion to Ms::division
Add 'const' to local variable
Correct indent
Fix collectChords function (MIDI import)

Fix collectChords function again
Better collectChords function
Merge pull request #653 from trig-ger/midi_fixes

Fixes for MIDI import