some small changes in code, merely comments
added threshold window, moved fazit to own chapter