Fix memory leaks.
Fix operation with no command-line argument, only options.
Simplify options recording.
Make placement of whitespace around pointer *s consistent.
Make paperconfig print the system paper size when run with no arguments.
Remove unneeded program check.
Fix a typo.