Anyways, this is broken as we need a bunch of JavaScript to use CTYPES to call various operating system functions to open, run programs, read files catch stdin/stdout/stderr and write stuff to disk.
Beyond my abilities right now.
I'll delete the XPI above and recommend removing it from any installs.