Memory leak fixes

- When stopping a sandbox, make sure it is removed from the `this._children` array or `app.core.appSandbox._children`
- Make sure the references to the DOM nodes are removed when stopping a sandbox