Sam's code didnt compile fixed it.

A good amount of misspelled words as well as minor chagnes to the code
like missing "new" to make a class or small items of that nature. Could
have been fixed with a compile and check.