Adding some more details to commenting. Moved the ilInit call out of ShapePrimitive and into main so that the Image Library is initialized there instead. Properly deleting the vertex buffers now when ShapePrimitives are deleted.