Removed raw pointers in the main detection and tracking threads