add grab builtin, plus a couple of minor fixes