Added gl exceptions checker which now is used almostly everywhere.
FBO still doesn't work.