De-bloated the grid class, now with less stupid.