added define I forgot for memory leak pretty print
Merge branch 'master' into resources