Welcome to our Forum, DarkSerge.
Actually, the gender isn't decided at birth. It can be changed during the pregnancy by eating watermelon for girls and apples for boys. As for multiple births, someone who can look at the code might be able to tell us for sure, but I would think that children's music and TV would make it happen right before birth and that the LTR might make it happen a the beginning of the pregnancy.