Move profile actions to the "Actions" menu and also do a bit more work for #587 for the profile detail view.