Merge pull request #1 from dominictarr/master

refactor out progress bar
clean up
Update README.md
fix example so the code is correct!
return error, so that does not cause error