Fixed AJAX error handling.
Added possibility to exclude environments/project configurations using regular expressions.