Fix a number of compilation errors.
Solved shared file I/O between Python and FreeImage by using a library external to both.
Fix image next offset 0 termination, and slago file structures must be packed.