Splitting some stuff out into separate 'globals' file, so multiple files can refer to it.