no masterbation will not cause miscarriage! you can have sex while pregnant, it is completely harmless! do not feel guilty about havin sexual urges. it is natural. talk to yor husband or have sex with him. nothing will happen as long as you dont have seriously rough sex.
there is no way to tell the gender of your baby without asking the doc. they need to do an ultrasound to took at the baby to see the gender. no other way can tell you until it is born and you seen it yourself!!
I agree with the previous poster. You can have sex or masturbate during pregnancy, so do not worry. If you have sexual urges, feel free to relief yourself by masturbation or by having sex with your husband.