added a Event for saving config vars, removed debug from filters.php