def unpackPlayerArg(packedArg):
    """Take a string that may or may not contain multiple space-separated tokens.
    return the first token as the expected player module name, the rest as a single string
    for treatment as args to the instantiated class.
    """
    unpacked = packedArg.split(" ", 1)
    if not unpacked:
        raise ValueError("Unexpected agent arg provided: %s" % packedArg)
    if len(unpacked) == 1:
        # no additional args
        return unpacked[0], None
    else:
        return unpacked[0], unpacked[1]