Removed most references to glEnable and glDisable and replaced it with RenderDriver::Set
Various fixes and refactoring