Fixed and tested RegistryValue - works with or without regRoot.

Made registry parsing a bit more robust as required.