Added multithreaded benchmarking. Fixed bugs.

 - Fixed Segmentation Fault in the JS.
 - Added ability to run multiple benchmarks at the same time to speed up
   development.