Modularize a bit and move playlist_tree_export to pragha-library-pane