added option to limit the no of docs to bextracted
removed a few print statements
fixed the extraction and display messages