Stability and equlibrium in quantum statistical mechanics