Major TextFrame refactoring.