More on text rendering and related improvements

Doesn't compile -- getting WEIRD errors again.