implemented new image cache
fixed aspect ratio of images in context view
refactored image resizing
cache Canvas instead of Image
update list of vertices to draw more often when zooming