Added some of the plumbing to render meshes