Fix a few typos.

Hi, this is just to fix a few typos and one place (line 120) where I wasn't sure if you wanted to say "define" or "configure" or even "define and configure" so chose one that seemed to make sense, hope that's okay. Thanks!