Added two bugs.
Made the Stream example synchronize more often.