Ensure that all header files have include guards; remove more unnecessary includes.
Options object should not be a global variable; pass it to a couple of functions that need it.
[PTFM-9696] (Again.) Print a useful message when a file argument is a directory, or is not a regular file.