Merge pull request #52 from browles/master

typos
search fix, stray for loop removed