Return sanity to login dialog.
More development work
Validation support in dialogs.
Remove cruft