GUI work
Interactive GUI for setting thresholds and removing edges