Merge pull request #1046 from birarda/master

fix node kill bugs and add debugging
remove sleep time debug