initial
state machine for controls and draw_polygon mode
debug polygons