NEWRELIC_HOME should be NEW_RELIC_HOME

* plus some minor whitespace inconsistencies.