With some more research you would discover that those atrocities were committed by secular powers, and not the Church.For example, the oft-quoted Inquisition - it was the emperor who used the Church's pronouncements of heresy to execute people, the Church did not execute people.

Much of the misinformation and outright lies about the Church have been spread by the masons, who wish to destroy the Church.

The Pope only invokes infallibility when making a definitive doctrine of faith or morals.