Adjust coefficient for resizing task.
Resize window according to image size.
Image resizing is too complicated with no real benefits (zooming can be done with external tools after export).
closes #150.