Added basic LuaLoader, fixed a small bug in IntegrityControl