SpinBox: fix bugs

- use ’g’ format instead of ‘f’ to remove spurious zeroes
- values outside of [displaymin,displaymax] may be valid! this range
should only be used for the slider