Cleanups to Behavior

1. Stopping the internal Event when stopping the Behavior
2. Inlining TernaryLifter function
3. Adding comment to the Stop method