some cleanup.
removed unused getZoom() function.