significantly better debug output.
object_type = 2 not shown in debug output for transactions.
include orphans when searching for existing headers.