Fixed bug with unknown parameters; revamped exceptions
new comp_config() to automatically save config_state