added contrast threshold input from gui and showed default values for contrast and size threshold and displayed Error when non integers are given
Checked contrast threshold inputs to ensure they were between 0 and 255.
made the pixel threshold label work
made the contrast thing work I think. Layout in windows needs adjustment