Swing option for MIDI import
Tests for swing
Make SwingDetector class private