Started to make the inter-thread interactions in CRS-planner more robust (e.g., atomic flags).