new segmentation ui and some minor improvements

close child figures on main figure close