Fixed loopwave crash with no command line arguments
Fixed another loopwave crash with no command line arguments
Fixed initializing test event queue
Fixed crash with SDL_SetError(NULL)