grap editor fix, udp shutdown fix