Adding session windows to the flow control section

Reading through the flow control section, it needs a lot of work. But here's a start.