Pencils refactoring
Canvas resizing