added a config_error state.

if there is a config conflict both competing agents will shut down their alike components
fixed issue with config validation by adding a double-check