Tidied up parsing name/version from string.
Improved representation.