Add include/exclude comments to process results, remove blank lines, add total search for logs