Improvements in the range feature of the legend
legend is now part of core's utils (tnt.utils.legend)
Improvements in the range feature of the legend