Added functionality to remove components.

Components can now be easily removed from a model.
Added functions to create common shaders.
Added function to get cursor position.
Improved waypoint support and added FPS counter.
Fixed bug in render method.

Accidentally had it drawing too many vertices, producing artifacts but
only in objects with a small number of vertices.