megavdp: removed another global variable. nw.