Added SDL_Quit event support.