don't use valgrind when running tests; changed the font of generated graphs
added poor man's memory leaks detection for Macintosh