added header dumping
fixed missing programs message in self check