Tools/MeshExtractor: Cleanup using static analyzing tool

*printf format fixed
*method arguments changed to const where needed
*removed not needed strlen() from cycles
*other minor changes