Avoid signed/unsigned integer comparison.
Mark magic as unsigned to avoid signed/unsigned comparison warnings.
Handle fseek/ftell errors in ConfigInit.

This helps to remove the signed/unsigned comparison warning
in "if (fread(configtext, 1, filelen, fPtr) != filelen)"
for filelen is now a size_t.
Remove extra comma in enum definition.
Merge pull request #40 from bsmiles32/various_warning_fixes

Various warning fixes