Moved global variable definitions into their own file of shame.