Tweaks, fixes

Also implemented ExecuteTrigger and IsTriggerAt.