added visualizations support on analytics page, added cleanup code for failed visualization extractions