Integrated the 'SpatialDictionary' type so that it works with the main game loop.