Added maximumBytesInQueue option.

Closes #1.