Staticise plugin globals

Couldn't see a reason these can't be static