d(ele) || document.createElement("span");
}

function sendMessage(msg){
	if (iframe){
		iframe.contentWindow.postMessage(msg, '*');
	}
}

function manageSceneState(data, UUID){ // incoming obs details
	var processNeeded = false
	
	if (!(UUID in session.pcs)){ // re-using vdo.ninja state structures, to make code functions available as simply copy/paste
		session.pcs[UUID] = {};
		session.pcs[UUID].obsState = {};
	}
	
	try{
		if (data.obsState){
			if ("sourceActive" in data.obsState){  
	