improve config file handling

Port and MaxProcs can now come from the config file.  Command-line
overrides values in config file which overrides defaults.