Fixes black screen introduced by one of my latest commits (make sure to delete your config file if the black screens still do not disappear). Also improves OpenGL error handling in combination with FBOs.