Added support for running nested depenedent programs. Might have broken ...

...just running simple programs and looping. Ruh-roh.