Knob values and programmatic changes

The Knob was not handling programmatic scale changes properly; it was
using the sweep angles (for the arc), not the angles used to calculate
the level. To make this clearer, I renamed variables, in addition to
fixing the code.