Added atexit(SDL_Quit) for bail out without crash.