OK. I finally got to play my Druid for a little bit, and the last block of code you posted works for showing Druid Mana, but the second doesn't.
At least, I'm guessing that's what the second mana bar is for (in cat form). I don't play Druids enough to remember.