Make TextEngine a singleton, modify files so things compile, still needs work...