20w50 is pretty thick oil. Try a 10w30 oil. Instead of using an engine flush, buy 6 quarts of really cheap oil and 2 quarts full synthetic detergent oil, change your oil keep the oil filter, put in the cheap oil and oil bottle synthetic. drive it around for a day or two, drain it, put in the other three quarts of cheap oil and one synthetic, do the same thing again, then finally change the oil and filter and put in good oil. These engine flushes out there are very strong and eat away at your seals, particularly your oil pan gasket and timing cover gasket.
When there is air in the hydraulic lifters, the lifter itself compresses very easily, it doesn't push the valve open all the way and the loss of power is simply because the engine can't breathe properly. If you have an exhaust system, you would notice the note of the exhaust becomes very different, almost like a bubbles bursting.
Now in your car, you're saying one of the bolts holding down one of the rocker arms was loose. If there is play in the rocker shaft itself, then the lifter will definitely not be able to raise the valve all the way. You should check the torque on all the bolts and make sure they are tight enough.
As for your problem now, try putting a transmission cooler on the car. The stock transmission cooling system is nothing short of a joke.