Playlist tree and HistoryWidget optimizations.