fix some layercontroller bugs
adjust layercontroller modal dialog css
rollback layercontroller ui css
prepare for download