moved plot_gallery to _build for initial target.  Better cleaning of plot_gallery