checking on null in LayerCollection.Add
adding null check on schema in Map.Resolutions
invoking on ui thread in callbacks of MapControl
updating GdiGeometryRenderer for BitmapRegistry (also needed for WinForms fix).