	let tabid = Math.round((new Date()).getTime());
	let payload = {
		"tabid": tabid,
		"theme": theme,
		"filename": filepath,
		"fontsize": fontsize,
		"timestamp": Date.now() //Add this to make sure browser dont cache resp
	}

	console.log("Opening",payload);

	let encodedPayload = encodeURIComponent(JSON.stringify(payload))
	var tab = `<div class="fileTab" tabid="${tabid}" framematch="ca${tabid}" filename="${filepath}">
				loading... <div class="closeBtn">‚®Ø</div>
				</div>`;
	var frame = `<div sty