Fixed a few typos in G3D.