Move reading temperature outside main loop.

Trying to avoid hitting temp. sensor every second just to throw away results.