Removed unused code and duplicate variables.
Removed EGL dlopen.
Cleanup.
Removed panning hack only needed by Xxf86vm.
Cleanup.
Restored use of CMake Threads package.
Merge branch 'master' of github.com:elmindreda/glfw

Conflicts:
	CMakeLists.txt
	src/egl_context.c