Add gui.
Use CGAL to check the frame (polygon).