Support for additional basemaps. Also fixed major issue with getcapability / populate layers
fixed an issue which caused layers with spaces to not expand.
Removed extra console log.