Epiglottitis is a generally a medical emergency and always associated with respiratory distress (usually a sore throat, as well). If you had it, you would know it (and you'd probably be dead by now):
http://www.emedicinehealth.com/epiglottitis/page3_em.htm
From what you say it seem possible to me that the digestive/gas problems may be the root cause of your heart symptoms. It may be best to try to get the digestive problems under control first to see if that helps/cures the heart problems.
It is good that your are under the care of a doctor.