added break if thread asked to die, so that back from dar processing not done
enhanced logging to include more info, some synchronization fixes
merging back from master