A better fix for clearing buffers

Properly closes #40 with a means to clear all buffers.