Wrote out some of the graphics stuff for map, haven't tested it