Fixed a bug that would not render none-textured objects.
Added options for most opengl pipeline options.