Fixed warnings
Added --sql and --where parameters, and worked on FilterCleanHtml