Cleanup code & Text Editor for PasswordText