GLM2: updated exception checking (test for job was cancelled to), stopping criterium (if lambda search, max iterations = 10 per lambda), and removed incorrect assert.