Changed how command line arguments are processed - a bit.  Now remain is correctly added to the other arguments and passed along to the selected command, and the settings are processed correctly.  This all needs to be documented!