Added Monolog error loggging as exception messages are lost on the way up the plugin chain.
Added support for overriding private API key.