added checks in configure script, added --enable-debug and --enable-stats flag in configure, fixed small issue with memory manager, changed ping pong benchmark