Improved string handling on roles.
Improved form submitting.