Formatted prints and fixed unicode issue with registry.