Added a clean exit exception to processBuffer.py