Add .DS_Store to gitignore
Convert mixed tabs to spaces. Tab width = 2 spaces. Remove unused variables. Fixed out of scope variables.