Added primitives::grid, logging window-resize event to stdout.