fix drawPort
parse old XML
getters/setters for port coords
save port fixed for compatibility w old XML