Fixed threshScale bug, added a parseFloat() or two