Fixed bug in pan_threshold and tilt_threshold parameters.  They were being converted to int by mistake.