Make core.Async a namespace

and also simplify Editor.destroy finally :)