tools/configurator: Better argument handling, particularly unknown arguments.