fixed two assertion errors having to do with changing buckets in mm_free
fixed a deadlock in mm_free