fixed related albums/playlists play bug

plus some refactoring!