Handle configure event.
Make ADD_LISTENER macro public and use it.
Add assertion for EGL window surface creation.
Assert against eglChooseConfig call.