Fixed bug in new-account, added error dialogs.