Style
Complete header for memPool_t
Minor fixes for some queries