added event-stream buffer clearing and agent uppercase sugars (close #86)