Slow TextNode behaviour

Note: I’ve just checked in an overhaul to the text generation that makes generating text significantly faster (I measured 75x as fast!)

I also checked in a change that will make flattening text significantly faster in the most common cases.

The recommended optimal settings for text in Panda 1.10 are “text-flatten 0” and “text-dynamic-merge 1”.