Add input validation to most of the config questions.

> Some people, when confronted with a problem, think "I know, I'll use regular expressions."
> Now they have two problems.

Dongle "device index" actually accepts serial numbers too, document that.