updated table paint method and fixed drawing for gen 2 grids