Removing sprintf.js and replacing it with a module based on that code.
Using fuzelog and created it from config info in config file.
Minor changes to use new sprintf module and logging module.