Off by 1 error on playNextSong, better random number logic, react to videoEnded events, search mode should set playlists' currentlyPlaying to false