Correct fps calculation
Implemented functionality to modify gl options
Added gl option retrieval
Use new RC methods instead of direct calls
Fix clear last error
Remove RC constness in render argument
Render sprites without depth test