Fixed some grammar and code issues.