Added option to limit the number of parallel optimization processes

fixes #196 #184 and I suspect also #193 on multi-core (8+) machines running Win64. 

This change has been tested on my machines which could reproduce all of the above problems before.

Now setting parallelProcesses  to 1 I am not able to reproduce the problems anymore.