Tidy up some leaky variables.

By default they'll get defined globally.