BufferedInput and Removed input frame buffer.

So reading frames is taking WAY to long. I added an input buffer, but
it only seemed to help minimally. I also removed the input frame buffer.
This is because I have WAY to many byte arrays allocated, and I'm not exactly
sure why.

This commit didn't significantly fix things. Just the begginings of some experiments.