updated gui to fix crash when no calibration file is present