Adding nvgameworks and some debugging code