NDOize AH, BEEP and DTP decoders

Also remove some unnecessary passages.