Errors detection for type section and var section partly working. Need better understanding of specifications in this part.