* cleanup
* count repaints and discard unneeded ones, reduces flicker
* implement mouse suppose (selection doesn't work yet)
* implement window resizing
* fix cursor drawing (map XOR mode for rectangles to B_OP_INVERT)
* Add 1 to the font descent value, now draws text like Pe.