Maybe some of you who know a lot more about plumbing and mechanicals than me might know why this wouldn't work but I think I thought of a solution for the air bubles causing problems, what if you installed a "vent" like we use for drains in our homes on a t where your tubing exits the resevoir? So, as the water passes through your air bubbles would try to exit at the vent maybe? It might do the opposite so that's why I'm throwing it out there.
Thought about it.
Might work, issue could be the bubbles get stuck and don't make it to the vent.
Also, if I had one , I just know somehow I would end up draining my res.