loudness: fix crash for songs with 0 frames. closes #48
playlist example: fix race condition