switched SDL_GetThreadID(NULL) to SDL_ThreadID()