preliminary support for contour objects
bugfix for line contour and comments added