         case 'error':
                    // Show error in all result areas for visibility
                    document.querySelectorAll('.result').forEach(el => {
                        el.innerHTML = `<pre style="color: red">Error: ${data.error}</pre>`;
                    });
                    break;
            }
        };

        // Event listeners
        elements.vfs.addEventListener('change', () => {
            const id = parseInt(elements.vfs.value);
            worker.postMessage({ cmd: "sw