minor tweaks to pgo xml write logic (eliminate dups, shorter labels, etc)