Let retry count be configurable

Add retry count to settings dialog, between 1 and 10, with a default of
3.
Add english string for settings dialog.