a lot of the damage to the ceiling was because because water had dripped through from the bathroom upstairs. of course this is because the caulk has rotted out. which means, that in order to paint the living room, you need to recaulk the tub.
nothing's ever as simple as it looks.