Made tresholds a float, not to have them reset on opening settings page.