Rulers, highlight selected lines, refactor rendering.