Minor additions
Added SharedFreelist, fixed a few bugs.