he kept his mind focused on inane things-counting the lines in the wood-planked floor , the number of neat pleats on the ruffles around the pillow on the bed that had been made so bloody comfortable for him .