Removed control chars and added support for input fields to display the password

- Removed control chars 28  + 29, these chars caused invalid passwords because the String.fromCharCode returned an empty string for it.
- Added support for input fields to display the generated password.