Cleanups

add -h and -v options, clear up what av[1] is and error checking netbios_ns_resolve results.