Changed inserting of documents in benchmark from threads to actors. Improved logging and parameters checks.