Added a sort playlists button and updated debug window.