name changes, added localdist.clear(), interface changes, removed localdist.safecontext()