Added image zoom feature.
Corrected error inducing IndexOutOfRange exception during zoom.