Debugged line drawing. It now works a little better, but still not perfect (and it can never work perfect, due to freedom in implementing the line algorithm in OpenGL).
Now able to use Textures as Depth and Stencil buffers