printGlobalTextureInfo fixes, win build fix #3