Texture management is now decent.

The glyph cache is now immutable during layout and rendering. We load
missing glyphs outside of the main loops.