This is quite blatantly cheating but I thought some of you might be interested in what was posted over on GameFAQs a while ago. If you're having trouble keeping Dogmeat alive (and want to), there's a console command you can enter in order to make him plot essential (becomes unconscious at zero health, revives after the fight is over). Just open the console and type "SetEssential 0006a772 1" (without the quotation marks, and that's three zeroes at the beginning). There's a code like this for each of the followers you can recruit. Might prevent a few annoying quick loads, I don't know.