BottomTracker: Moved the handling of safety measures into a separate function.
BottomTracker: Ignoring DEPTH state if avoidance during depth control is disabled.