LuaConfig::fromSettings() cleaned up