ignore more.
some cleanup, add some code, notice that SEXP-returning routines can
*not* return 0 (R crashes), and, voila!, it appears to work.