Fixed issues report by scrutinizer
Merge pull request #216 from laf/issue-laf-31

Fixed issues report by scrutinizer

I'm not sure deleting the debug code is the best thing, but it would actually be better if we put it inside dbFacile anyway (there may already be some there), so if we add it back later, we'll add it back elsewhere.