fix more format string bugs
Merge branch 'master' into gfx_unstable