fixed typo
fixed typos and added some small improvements
adding dist dir to gitignore
fixed line numbers in code excerpts.