Added the isBlocklyExecuting clause.