added logging
Merge branch 'master' of git://github.com/Backson/3dgamecpp

necessary,