I had all but the update routine in lua for my gatherer addon until I hit a glitch with a new frame functionality that I have yet to see a lua equivalent for the ZO_ComboBox control that works and my thread
http://www.esoui.com/forums/showthread.php?t=573 asking about it has yet to solve the problem. So, to save myself from waiting around and holding back the addon while I figure it out I just converted the whole addon to use the XML for visual and Lua for functionality.
I can always change it later on when a solution has been found to allow a non global way of creating frames this way.