Removed the g_LogFile_critical critical section.
Removed unnecessary includes (they're being included anyway, as messy as it currently is). Removed the inline definition from lzf.h (it's not used there).