Don't worry about the Catholic Church's problems. It is made up of sinful human beings, but Jesus guaranteed that it would never TEACH false doctrine. The rest is up to Catholics.
The gay bishop problem of the Episcopalians is illustrative. This will never happen in the Catholic Church. Sure, there are and will be gay priests and bishops but the Magisterium of the Church will never APPROVE of openly gay clergy. Similarly, there will never be woman priests. We have Jesus's guarantee.
Artificial birth control is another example. EVERY Christian church taught that it was deeply immoral until the 1930's. Then the Anglicans succumbed to the spirit of the age (as they have again) and the rest is history. Only the Catholic Church held firm.
Remember, the bad Catholics you run into are in fact Protestants; i.e., they PROTEST the teachings of the Church. I urge you to find the Catholic parish or parishes in your area that are truly Catholic (you will know by the size of the families in attendance) and commune with the angels and saints in the Holy Mass.
To state that "Bad Catholics" are "Protestants" is simplistic and inflamitory. When an organization bans the question "Why", its authority and justification is automatically diminished.
The Roman Catholic Church may not have "openly gay" priests and bishops and archbishops, etc., but remember, God sees all, so they while may hide their sins and hypocracy from the mortals, but they are "openly gay" to God.