Fixed crash when OpenGL version parse fails

and dump more useful information for us in the graphics.log file.
WriteGraphicsLog will dump it, see below.