sanitize function. error reporting on/off and passing parameters from get to filter tags and categories in questions