Fix syntax and spelling errors

Various spelling errors and lack of semi-colons have been fixed in this branch to eliminate any prior errors.