Cleaned up grid page HTML and fixed a few more calculations in the grid sizes