Changes useful for multithreaded framework
Adapt to name change of framework function
Add clarifying comments
Merge pull request #201 from wmtan/variousImprovementsForMultithreading

Various improvements for multithreading