Make sure that ArcGIS services which don't support web mercator are not added.
Improve error handling.