Changed the constructors of the records to avoid copies of arrays
Fixed possible crashes because of malformed A0H record