Simplify line renderer a bit.

Remove some redundent checks, change firstChar/lastChar to be
relative to the current line, rather than within the whole
unwrapped line.
Merge pull request #17 from csmith/textpane

Simplify line renderer a bit.