Added the ability to display an XYZ grid.