Large cleanup and sanity checks
- created a module for each header file to see if it compiles on its own (suppressing unused warning with -Wno-unused)
- Fixed headers
- Fixed initialization orders and undefined sequence-point errors
Added .a files to ignore list