Changed GetTime/Sleep functions to use SDL_GetTick and SDL_Delay.