added vdebug() to handle the arguments as a va_list instead of a normal list of arguments.
fixes a segfault in send_worker_msg when trying to print out the worker message