Used by SDL_Init to initialize Event Handling.