You are almost always encouraged to disconnect the battery when doing anything under the hood to lessen the chance of accidentally grounding a live circuit.
As far as t-stats go, avoid Stant. They are notorious for being off, brand new. In my experience, Robertshaw t-stats have the best record for being accurate right off the shelf. That's what I usually install in my customers cars.