Render draw tool preview as a line when we only have 2 points

Add icons for tools

only render svg to png if the png does not exist

Icons update

Add document closing

fix crash when loading a file

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

mercurial