Valgrind no runs with 0 errors.  Moved module deletion to the desrtor of
the wrapper so that all modules are tracked and are not deleted as they
are being constructed (in a>>a>>a case.)