corrected incorrect use of StringFormat and did basic indenting fix.
set many pointers to nullptr instead of 0.
changed from using a preset char buffer to string.
removed unneeded defines. snprintf and friends are used within StringUtil.h
reorganized includes to allow for consolidation and cleanup.
weird #ifdef pattern, reorganized and cleaned it up. easier to understand now.