these lay in small snuggled heaps on the floor near the hearth or on pallets by the far wall , and here and there tousled heads poked up like prairie dogs , blinking in the glow of the smoored fire to see what was to do .