fix bound problems

minor changes to kill, added some comments
Merge branch 'master' into gh-pages