Some simple logging fixes, might implement as singleton
Implemented memory pool