Adding support for fetching SDL_QUIT event again.

Quick hack, but works.