fixed query of GL_EXTENSIONS in glesv2. Also fixed EGL surface desruction when there is no current context.