improved memoizer support, other minor fixes

can now set `memoize` config to `:aggressive` for more aggressive (tho not always safe) caching