Changed imageviewer lite behavior

changed the imageviewer lite behavior to what @lbondaryk had requested for the work in Chapter 7.

I've got a change made in chapter 7 that I'll commit once this pull has been merged.

Also further work on the unit tests.