Added option to save partial results. Removed duplicate items form results.