I've added a memory limit of 262,144 kilobytes (kibibytes?) and an instruction limit of 50,000. These are kind of arbitrary and might need to be changed, especially the instruction limit. Maybe I should add a (non lua) config file for it.
There's also a global body limit now.
I don't expect these changes to protect users from malicious targeted scripts but it should prevent kids from sending their friends a script to crash their computer
//TODO
compile for windows