fixed bug with progress bar and stdin.
added progress bar for mloginfo --distinct.