Hi Martin,
about r54090: there should not be any dead lines registered with
nodes, I have reverted r54090. Please use dig_add_line() and
dig_del_line() when lines are added or removed. The bug is probably in
write_pg.c. V2_delete_line_pg() seems to be missing.
Markus M