Added config file option, logging option, formatting of outfile; improved marc options, etc.