I added a cheezy valgrind mode to dotests.sh, and prodded alarum.c into detecting valgrind errors. Now it's just a simple matter of making dotests.sh run the right DLLs through valgrind instead of a set list, I think.