making the midi playback loop and adding a stop button