Make music loop right by rounding up ticks.

Bars still get out of sync and should be scheduled in MidiFilePlayer
too. Code is a little sloppy.
Schedule bars in mido_player too.