Merge pull request #24 from csmith/textpane

Use system highlight colours.
Make rendering of wrapped lines simpler.

We now always render bottom-to-top, regardless of whether lines
wrap. Previously for wrapped lines we jumped upwards, rendered
the wrapping lines top-to-bottom, then jumped upwards once more
and carried on bottom-to-top. That made for some really confusing
code.