Added parallelization monitoring and lots of fixes.