Correct possible issue when getting mempool arrays.
Automatically free all created memory pools on shutdown; implement lookuping up a memory pool by its name, for use in /memfree command; allow using /stats to display all the statistics at once; enable MEMPOOL_ALLOW_FREEING on every mempool.
Avoid unnecessary memsets.