Is it permissible to pray with a heater (stove) in front of me?
There is no harm in praying with a heater in front of you, as long as you do not intend to venerate the fire or imitate those who worship it. And Allah Knows Best.
What is the ruling on determining the sex of the baby whether through killing the female spermatozoa, or any other way in order to have a male?
If it is done through having a certain type of food, taking a certain type of medication, or organizing the time of the marital relation, then it is permissible.
I work in an accounting and auditing office, and among the clients of the office are restaurants, hotels, and supermarkets that sell alcohol. Our work is limited to collecting invoices, whether purchases, sales, or expenses, and recording them in daily books. We also review income and sales taxes on behalf of these clients.
You are more knowledgeable about the nature of your work. If you see it as assisting in wrongdoing, then it is forbidden, as Allah The Exalted Says (What means): "And cooperate in righteousness and piety, but do not cooperate in sin and aggression" [Al-Ma’idah/2]. However, if your work is merely documenting the reality, then I hope there is no sin upon you. The the pious predecessors (Salaf) used to take the tithe from the traders of the People of the Book, even if it included alcohol, after knowing the value of their goods. And Allah The Almighty Knows Best.
Is it permissible for us to sever ties of kinship if our blood-relatives` gatherings/meetings involve acts of sin?
Observing kinship ties is obligatory, and paying your blood-relatives a visit causing their sinful acts to be hindered , then you should do so. However, if their sinful acts continue while you are at their gathering and they didn't respond positively, then observing kinship ties via telephone and the like will suffice in this case. And Allah Knows