Behavior

several enhancements for behavior editor