Add  dynamic legend production.   Cleanup both Sunburst and legend when we are done with  them.