Registry and bug fixes.