Added header register to header_parser.xml
Removed a number of bugs, fixed registers