Recruited a companion and went to milk the cows in the barn. I have two doors, one of which has an "airlock" to keep the animals from escaping, while the other doesn't. While milking a cow, my companion decided to open the other barn door and all my animals escaped, immediately dispersing in all directions. Two separate problems here: NPCs opening doors on their own and just leaving them ajar, and supposedly tame, domesticated animals fleeing at top speed for the hills the instant they get free.