added FIXME
fixed window_min and window_max sliders
renamed window_min and window_max to input_min and input_max
make threshold show for analog pins
oops need to add in this pin_settings template that i have been using