Fixed a few major bugs which pretty much made this whole thing useless. Also removed ByteBufferInputStream and ByteBufferOutputStream.