added gui updates, some small fixes, updating of params with double click, logic for detecting calibration