avoid NULL dpy in ctx-stack.c
variable renames in ctx-stack.c
rename glx_context_* functions to glx_ctx_*