Fixed weirdness

Apparently, even when using Function.call or apply, 'this' would not
stick in the static functions. So, I used a proxy 'self' variable for
the entire thing. Works now.
bad defaults fix

the buffer size variables were supposed to an exponent of two, not the
power of two itself.
fixes

fully removed extentions and fixed various things
fixed scope issues

Completely forgot the anonymous functions I was using, which turned out
to be the source of my 'this' issues.