Added calibration at the beginning of the program and a new panel for it on the display. Not yet tested.