Simplified buffer clearing