Add some debug messages and image visualisation. Still not solved problem with fitting
Minor debug changes
Solved problem with preview scale.(issue #1)
Solved problem with inbuild rotation, translation and scaling. Issues #2,#3,#4
Slove problem with fitting.(Issue #5). Add a lot of debuging stuff into the code.
Merge branch 'dev'