Zoom detection

Better zoom detection when adding multiple layers/deleting layers, to make sure zoom settings are within the scope of the smallest source.

/cc @yhahn