creates a max buffer constant for ease of updating maxBuffer limits
fixes the MAX_BUFFER_SIZE to be something, you know, useful
Merge pull request #930 from rockbot/max-buffer-const

creates a max buffer constant for ease of updating maxBuffer limits