Fix compile errors with some versions of GCC.
Disallow context-dependent copy/assignment.
Some fixes for tear-down-incremental and "success" output.