Fixed small, subtle threading bug in scientific mode.
Merge branch 'master' of github.com:larsga/Duke into evolution-strategies-experiments