Replaced SDL_Sleep() invocation with standard C++ version.