Draws selected text also, have to adjust colors.
Updated drawText so all colors are painted depending selected state.
Implemented updateDamage which should repaint whole pane when changes made.