added automatic accessor function
added ability to save automatic flag
updates automatic flag to 0 if user opens polygon
added ability to draw dashed polygons