Merge "Add lock and exception handling for startPointingUI" into main