Merge pull request #765 from lioncash/memfn Core: Get rid of calls to mem_fn in thread instantiations