improve rounding, escape html in labels and comments