Make game var gloabl for easy debugging
Chuck offscreen entities before z sorting and drawing
Use rev lookup for getting contents of squares