Clean up DOM around SQL editor.
CSS fix for shapefile layer.
Use a stable, yet different temporary ID for xray source map.