Multithreading support added for all other processing.