Added gamepad/joystick support
Got EmailCrashReport to work, but Email invoke pane doesn't appear...
Implemented a lookup structure for finding OpenGL functions since eglGetProcAddress may not work without EGL_KHR_get_all_proc_addresses and simply getting the functions from dlsym doesn't take GL version into account, needed a workaround.