Closer to home, the next pope has a major challenge awaiting him inside the Vatican walls, after the leaks of papal documents in 2012 exposed ugly turf battles, allegations of corruption and even a plot purportedly orchestrated by Benedict's aides to out a prominent Italian Catholic editor as gay.