Made the SDL event queue dynamically allocated so we don't ever drop events.