Jb master

These are a few patches that I've applied locally. Only significant addition is the serialization buffer 'take' mode which is useful.