Some lattice and AI web clients fixes