Unreal Engine Defaults to Headless Mode

It is the second of the two code locations I posted, SDL_ShowMessageBox(), that fails. The SDL function returns -1.