improve gui, reduce VRAM allocation, add Thresholding and Segmentation(Thresholding)