Simplified the grid rendering.

Now there is one texture the size of a cell in the grid and that is
repeated for each cell, rather than creating one large texture that
contains a picture for the grid.

Also did some cleanup/maintenance in preparation for the work coming
down the pipeline.