Created a double buffered class for rendering color tiled grids