fix weird placement of 0, errant outer lambda in kstat. Code review comments