Whitespace
Show error dialog when refresh or process index are invalid

Instead of resetting them silently to the defaults, show an error dialog
Merge pull request #6 from danakj/master

Show error on invalid inputs instead of hardcoding defaults and silently reverting.