One more off-the-wall thing to try: for a while, avoid combining starches (grains, corn, potatoes) and proteins (meat, eggs, dairy) in a single meal and see if it makes a difference. If you eat a lot of beans and/or peas, that might be causing the gas as well - ditto broccoli, cauliflower, and cabbage.