ADDED REGISTRY READER AND printf WIDE CHARACTER VALUES