minor changes to examples, added debug info and .gitignore