Testing display and running with valgrind.