1-He was happy when he wrote a novel. <br/>Does this mean: <br/>1a-when he was writing it. <br/>or could it also mean: <br/>1b-when he had written a novel.?