Merge pull request #17 from csmith/textpane

Simplify line renderer a bit.
Fix text pane performance regression.

I was wrong -- lineLayouts didn't need to be sorted. Making it
a TreeMap was quite expensive, as it had to do a bajillion
comparisons each time a line was added (which happens every
render cycle).