loadfile: PT_NEXT_ENTRY was wrong, replaced