Zoom support.
A little bit of code cleanup.
Getting rid of some unused code.
Introduced max and min zoom, started panning implementation.