Fixed image export for SubstructureDrawPanel.
Added image export for NHistogramPanel.