Add more basic debugging to KMS/EGL.
Init threads in X/EGL.