Handles stopping and starting playback a bit better.