thresholding gui improvements