fix several bugs in in the examples. Window operator runnable