Btw LM, I read somewhere that you were experimenting with OpenGL for UI and rendering previews in Moho... was this what you're using? The license is free for personal and commercial use, which is nice of those chaps over at MIT!
No - all the drawing code in Moho is written in C++. Lua is only used for the tool and menu scripts that you see in the scripts directory.
The OpenGL experiments didn't go so well, by the way. It would sure be nice to get hardware acceleration, but there are things in Moho that really don't map well to the OpenGL way of thinking.