Gross first crack at thread-safety.