Move tools under Document instead of MainWindow

esc with draw mode now clears the polygon

refactor

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

mercurial