added PolygonObject and refactored away a lot of boilerplate

PolygonObjectEditor can now modify the object properly

(0) -30 -10 -2 +2 +10 +30 +100 tip

mercurial