add SDL_Delay for less cpu usage