Pope Leo's in-tray: financial woes and doctrinal disputes