More stuff about flow control. Bug fixes in example.