martin felt his eyes beginning to close , and his head beginning to nod with exhaustion , and he had to summon all his remaining energy to force himself to an upright position and make his way over to the single , dirty pane of glass which passed as a window in the room .