Add support for stopping motion.
Add node shutdown to handlerinit.