Invalid character checking has been added

File names containing '/' or '\0' will now force the program to exit
File name limit defined to 255 chars
Modified name size (was one too large I believe).
Also, I changed a for loop to compile under
standard C (no declarations in for loop).
Merge branch 'formatInputs'