Added dynamic waiton example/test and extended debug:print-info and debug:print to handle a list of debug levels