Parameterize stop effector

General note: I'm a fan of white space around operators (as advocated in the various coding standards such as from Oracle and Google). But consistency with the other code trumps that. Therefore I'd for for ` = ` for he assignment, but ok to not have spaces around the `==` on previous line.