Isolated leak a bit - this now runs fine, and confirmed with valgrind, but no subsumtion and actionset selection.