exception uses displayed_error_line_count directly, changed initilisation of displayed_error_line_count, checking raises ConfigError on errors, removed option to set lines by env