Added notes on producer/consumer problem.
Fixed spelling mistakes and typos.