Added widget "inputs" for user input of threshold values