Simple WoW 4.0 compatiblity fix (self + _G[] changes).
There is still one issue with dropdown menu options showing "custom" as selected option even though it is loading correct settings... but the meter itself should be working now.
Maybe someone can fix that dropdown menu, I'm still noobish with lua