he had trouble sleeping these days , in any case , and often lay awake late , watching the fading glow of embers in the hearth and turning things over in his mind , or seeking wisdom in the shadows of the rafters overhead .