modified host function loaders (from file and string) to use global Lua functions instead of the luaL library methods directly (in case they have been replaced by a previously run script)