Made many minor corrections and improvements.