Misc editprofile fixes.