The bubble trap just catches bubbles, since they float. It has two-three baffles, one being on the bottom to keep the level of water right, then one on each side (or just on the down side of the other) that's raised up an inch or so to catch them. Putting a sponge pre-filter on the pump may help with the bubbles too.
"What, exactly, is the internet? Basically it is a global network exchanging digitized data in such a way that any computer, anywhere, that is equipped with a device called a 'modem', can make a noise like a duck choking on a kazoo." - Dave Barry