hooked up coretext renderer, exposed all common TextBox functions to lua. Crashes at termination