Fixed bug in EGL initialization: EGLContext had EGLDisplay type.
Fixed bug in TGA save: Count and size were swapped.