Merge pull request #52 from fdelapena/master

Add warning and debug flags