Fixed some code problems. Finished ehdr table.