I've attached some uninitialized variables I was unsure of how to initialize and some gcc warnings. Maybe quickly double check my recent changes.
'\0';
is in a couple places you might want to check. Besides that, it is probably fine. I will probably have more issues for you to look at since I still have a bunch of directories to look through.
more issues
Here's some more that needs your input.