better error handling for web app errors
Remove debugging
Update cite.py
Merge pull request #221 from clovis/master

Better error handling