update my first program + extension to convert ref-paths from xml to valid XPaths + some fixes