Text rendering partially done

Much work needs to be done, but some is done (also misc changes, mostly
(but not all) related to integrating fonts/text)