Fixed naming of maxlength and minlength constraints.
Allow changing avatars. For now it's toggling automatically.