Corrected Format String issues based on Analyzer results.
Corrected integer type definition based on Analyzer feedback when switching to support 64-bit devices.