Fixes a typo.
Better config handling, and fixes swapped debug messages.
Merge pull request #1 from newrelic/small_fixes

Small fixes