More shutdown and spawn protection crap.