prevent plugin choking if request comes from console
Merge pull request #3 from davecoggins/master

prevent plugin choking if request comes from console