Fix possible vsprintf warnings.
Add default configuration.