fix up things and remove unnecessary code

move drawState to Document

delete unneeded things

(0) -100 -30 -10 -3 +3 +10 +30 +100 tip

mercurial