makecurrent fixes
Hey, I'm working on wiring Mesa up to libglvnd. I found a couple of issues in how libGLX handles MakeCurrent that I think would be regressions from current libGLs. I've tried to make the commit messages self-explanitory, let me know if I can answer any questions.