added more headers, fixed struct type declarations midfunction, extended test file, fixed crashes on completely empty files
more headers, fixed broken bitshifts