LSL's EOF sucks, Lua's 0 isn't false sucks more.  Work around both.
Comment this out for the moment, currently that's a meaningless test coz it's all fake.
Fake llGetFreeMemory().
REal llStrimTrim(), and sanity check inputs to llSubStringIndex().
Another MLP fudge to get it to work.