cleaned up nev.c, added argument handling to examples/proxy.c