Fixed a few errors and typos