Error checking for eglConfig and initing egl* Pointers to NULL.