Fixes some typos and minor errors.