Additions to the music player
cleaned up resources