#27: Began refactoring the text element to allow document switching.
Lots of build breaks, but I did reach a pretty good stopping point.