-d debug option and -w whitelist option. Also minor bug fixes with respect to failed connections.