Improved valuebar, added drawing for min and max.