Rip out hard-coded outputs to System.out; constrs now take PrintWriter.

Default to System.out in some constructors where appropriate for
backwards compatibility.