Bugs killed: input F LED & threshold byte overflowing fixed

There is now an int where a byte shouldn't have been. And a < where there should have been a <=. Added DEBUG_INPUTS for serial help.