Man, the gas pain sucks so bad at night. I've had kinda the same issue for a few weeks now. I took the advice of some people and eliminated foods causing gas then I started taking two imodium pills that have really helped me big time for the past week. I hope you get well soon.