Well, so much for Companion quests - just replayed to the point where I was before entering the last time, wisely saving right before entering the building. Same thing. Doesn't matter what I do inside, which exit I try to leave from, the game dies when I try to leave. It's like a goddamn Roach Motel.
I guess I'll do some other stuff and then try it again later.