Fixed several cosmetic code issues. Improved detection of same/different disk detection. Switched shared_ptrs to use std implementation instead of boost one. Cleaned up includes in headers. (CH-259)
Changed locking system from simple critical section in task objects (CTask, CTaskArray) to the boost::shared_lock for improved multi-threadedness and safety (might be a bit buggy though).