Fix a few VS2013 /analyze C6001 warnings about using unitialized memory.
C6319
Reindent files.
Reduce variable scope.
Remove unused variables.