Added note on atexit removal.
Fixed uninitialized variable.
Replaced NULL with EGL_DEFAULT_DISPLAY.
Documentation work.