Added Ticks support
Added programChange support when playing midi files