fixed back pointers into references in common.h so now the other examples compile again.
updated .gitignore