added optical flow manager, and abilityto switch between user mask and thresholded depth image