Rewrote meshes in the new graphics system. Mostly everything work's and it has
been tested on the car racing example from the EDC, basic shapes still need
added. Pull when ready.