Rebodge so the midi file plays to the end (just about)