rigger this when switching servers
  for (let i = 0; i < tabs.length; i++) {
    const {iframe} = tab;
    if (iframe.destroy) {
      iframe.destroy();
    }
    document.body.removeChild(iframe);
  }

  tabs.length = 0;
  layers.length = 0;
};
const _openServer = (serverUrl, host) => {
  xrmp = new XRMultiplayerTHREE(new XRMultiplayer(serverUrl));
  xrmp.localPlayerMesh = null;
  xrmp.onopen = () => {
    xrmp.localPlayerMesh = xrmp.createLocalPlayerMesh(undefined, {});

    if (host) {
      for (let i =