Version detection logic change for issue #110

I've put together a change that appears to work on my end. It now truncates everything from the GL_VERSION string past the first 3 digits. It seems that all the GL drivers put the GL version first in that string, but I make no guarantees it won't break on something else.