1850 in the US I imagine would have been relatively safe for gays as the police back then were a joke and there was no communication technology that could catch criminals even if they viewed them as fugitives. The social stigma never really caught on it seems until about 1900 when Oregon had the YMCA scandal and they started sterilizing gays. This set about the Navy scandals that got FDR in a bit of trouble. One thing led to another and the FBI eventually started going after gays.
The sterilization of homosexuals I imagine would have been opposed by the church.
The Catholic scandals, its important to note, do not involve pedophelia per say but the hebephelia category. Or something similar. I know of a man who was molested in the church. He married and had kids but then later came out as gay in old age (with grown kids). After he came out he killed himself. This us pure speculation on my part but since he had been "molested" my guess is his psychologists or family told him he was not gay. This is not usually the case.
I was raised in a catholic backround and if a priest or adult touched me I would have beaten them heavily or ran off. Unless your gay I cant imagine voluntarily having sex with an old man. Now I liked my day-care woman mostly in their 20s. I probably have been with them voluntarily.
Most of these catholic abuse issues are boys who are likely GLBT, who as being young and naive, have been coerced. This is not always the case but in my opinion is the case 90% of the time.