Fixed multiple inheritance

Apparently, util.inherits is only good for single, one-shot inheritence.
I didn't like that.
fixes

Just more fixes