Factoring out an internal eval, and implementing smart-eval-last-sexp.