revamped loopIO with time limit and (IO Bool) stop conditions
update knapsack example to show TimeLimit termination, and new loopIO/runIO