Polygon editor, improved XML Fileformat readability

+ bugfix