Staticise plugin globals
Merge pull request #63 from leighman/master

Staticise plugin globals