refs #10 add redrawing of draing.
Add proper recalculating of size of drawing. Add proper drawing of variables