UI fixes.
UI for permissions.