Fix initial dependency handling, fix knit_print