consistent use of wxTextEntryDialog
share address calculation, fixes #114