Issue 14: Don't reset zoom state when loading if old and new image size is the same.

Merged Thomas Bernard requested to merge miniupnp/grafX2:issue_14 into master

also include a couple of fixes

Edited by Thomas Bernard