Fixed some typos and added a few notes.