properly handle histograms of failed draw commands when cleaning up
add support for TMultiGraph