Multithreaded version of the c/C caching options. Added nc option. Code refactoring.
Incorredt logfile setting.