#KJ-109 Experiment with searching a program execution with pattern. Corrected a bug from previous commit.