fixed Ajax errors not being displayed in the UI.
disable delete profile button, show tooltip if profile is in use.