Quantum electronic stability and spectroscopy of ultrathin Pb films on Si(111)7×7