Added mask dilation option to GUI