Make IB outlets private
Fixed compiler warning
Added utility function to calculate zoom level