Fix error message formatting.
Use custom logger.
Mint signature is now a config var.