removed debug print statements.
made mgenerate use multiple processes to insert documents faster.
Merge branch 'feature-mgenerate-multithread' into develop. Fixes #204.