Fixed some typos and minor improvements