Made GlRenderer easier to extend. Added drawlines support.