More work on GPU particles

Fixed shader generation, added ability to generate the vertices.