Circle events

Added code to the circle script to enable events. This is essentially the same code as found on polygons with a minor change to work on circles.