typo summery -> summary

moved check and x marks
Add semicolons, remove dead code
More typos, simplified code
Merge pull request #10 from rzurawicki/cosmetics

Cosmetics