Sfx gapless looping

A small (and slightly hackish) fix to the small gaps that happened when looping some songs. Note that this does not solve the start/end gaps inherent to MP3 compression. As a side effect it adds the option to play a piece of music N times via play().