Think I fixed some segfaults and valgrind errors.

After running a long time, simple-example always segfaulted. I suspect
some 'rule-of-three' violation from the valgrind messages, so I explicitly
defined all destructors, copy, and assignment operators. It *seems*
to be fixed on my machine now.