fix comment typo
deactivate deploy/retract/toggle events if not deployable
avoid NRE if deploy/retract/toggle action occurs and not deployable