Allow output to be reconfigured at runtime and fix a bug.
Don't use two QDialogButtonBox[es].
More Windows line endings problems.