Removed old memory management from Geometry.
Added redraw requests when the pen and pixmap are changed.
Fixed touches algorithm.