hacked in globals... working on basic tilemaps & grids. trying to think of a good implementation