Fixed so that BM Gallery could load user defined basemaps.
Modified subscribes to pass correct information for layers.