Removed console log pollution and dead code
Worked around the calibration problem