Fixed profile name input validations and rules. Fixes #221