Export histogram labels as methods.
bug fix & test for histogram labels.
stats: tweak states for easier export