Removed SDL_Delay and replaced it with quiting on Close button (top right window corner)