Here are the facts as I know them:
Since the church holds that it is not immoral to be homosexual (but it is immoral to have gay sexual relations), the church (up until recently) had no problems with homosexual priests, just as long as those priests did not have gay sex (or any sex, for that matter excepting of course the small number of married priests in Roman Catholicism). In light of the priest abuse scandals, however, in addition to the fact that the majority of these scandals involved the abuse of young boys, the church current policy is to not ordain priests with deep seated homosexual tendencies.
As for female priests, the Church has come to a decision on that matter multiple times. The last time I read of it, the opposite “teams” came to the same conclusion that the church should not ordain women as priests for two different reasons:
The group less in favor of female priests pointed out that Jesus did not choose any females as apostles despite having a coed following. Therefore, there must be something about being male that makes one more suited to be a priest.
The group more in favor decided against ordaining women because, although (in their view) there is no biblical or traditional indication that women cannot become priests, there is also no indication to the contrary. Thus, women MAY be able to become priests, but there would be no way of knowing. In order to preserve apostolic succession and to ensure the true administering of the sacraments, they reasoned, women should not be ordained.
Good luck with your research!
(PS: sorry about the lack of citations. Please correct me if I am wrong.)