Added UI, code to display cropping patterns. comments.