add some util functions; improve memory table printout.
cleanup memory on shutdown
clean up memory on shutdown
small fixes
add script for clearing memory contents