adding a grid output layer

getting some debugging information into the grid