Tested PiCO QL for Valgrind.
Enhanced Makefile configuration and fixed two trivial bugs.