Object sharing between threads implemented

Depth functionality not working. Links not getting extracted properly.