added loop to playlist.show.html, few other changes