add cortex segmentation to GUI