cleaned up cutout display function, seg and orig flags working