convert more functions to defun() form. add T and NIL atoms to env.