app: clean up and simplify code and math in GimpDial