Load/Get Script Interface stuff, minor fixes in lib