glXDestroyContext, XFree, XCloseDisplay
Also release the current context
Kill config.mk (fixes #456)