Fixed a couple of spelling mistakes
Squashed a few bugs in the code before sending out to the gang
Fixed spelling