I'd happily help with the code editor. I have written a complete UI framework for TPT a while back which I used in RasmUI, the IDE for my computer.
cxi:
Wow that's a lot of code. If I can figure out how to add this I'll submit it as an update to the script. I'm not that good at Lua compared to other languages, so it might take me a while.
What do you mean with "add this"?