Playback in a loop
Fixed the null check bug.