Fixed segfault (Removed tableset/table names, for now). Added header info printout. Fixed version string typo.
Moved some functions to their own files. Added __attribute__((unused)) to some io functions to suppress useless warnings.