When the child is born, you should resist any attempts by your ex to jointly register the birth. This would give him 'parental responsibility', which would give him some rights about determining the child's future. (Normally I would champion the rights of unmarried fathers to acquire parental responsibility but this sh!tbag clearly doesn't really care about you or the baby). He could still seek parental responsibility through a court order but I think that it's unlikely that he'd do so and, even if he did, it's unlikely that a court would grant his application.
Keep a record of all his threats and actions. You might need these if he carries on with his self-centred approach to his relationship with you. Accurate records might be useful if you can force the police to act or if, after the child is born, he tries to get parental responsibility.
In the meantime, eat well, avoid alcohol, try to relax and look forward to becoming a mummy ;-)
Chris