You might look at OpenGUI, an open source project aimed at game GUIs but could be applicable to other apps. There will be a Lua interface. http://opengui.rightbracket.com/