Minor typos fixed in thread sync tutorial.