Added some error handling for do_waitpid
Did some cleanup
Shouldn't remove the proc from the lists
 Did some experiment
Some new though about cancel