fix for #927.

Print an error message when the user supplies an invalid value for
detect-thread-ratio in the conf file.