I found the cause of my power switching from positive to negative. I would scope the current and voltage inputs one day and they would be in phase. The next day or even later that day they would be 180 out of phase. Well that is what you get when you unplug your voltage reference circuit and plug it back in later the other way. Without a three prong plug or one of those wide/narrow blade plugs, I can plug the voltage reference in two ways. One in phase and the other out. Time to add a switch to the reference so that I do not need to unplug it anymore!
Still have not figured out the difference between active and apparent power and energy and why one has the opposite sign of the other.