reduce struct size by 8 byte on 64 bit
removed extra 1 byte member, padding will be done anyway by the compiler
replaced the check with assert as it's kinda unusual case
removed the emalloc result check, out of memory will bailout
update the html table generator
use the generator to produce the header