Added a new test, testgldispatchthread, which tests some of the thread-handling stuff in libGLdispatch.