Made loop playback more reliable