Fixing a bug where deflect and disarm would have wrong values.

Adresses issue #593
Add /ptp toggle command