Remove trailing whitespace
Added precision to output values based on slider-step value.

If step is not defined, there is no effect. Otherwise, the step defines
the resulting precision of the output values.  For example, if step is
0.1, then the precision is to the tenths of a unit.  If step is 0.01,
then the precision is to the 1/100 of a unit.  If step > 0, precision
is set to a full unit.
Adds support for an integral value readout in the form of a tooltip