def id_list_from_editor_output(bs, **kwargs):
    """bs is a string of console output the lines are:
    # delete me if you .... (must be deleted)
    id     col1    col2
    010101 c11     c22222 ...
    
    If first line begins with # then return an empty list
    Ignore the second line
    Return a list composed of the first column in the rest of document
    Stop at end of file or first empty line
    """
    ret = []
    header_lines = kwargs.get("header_lines", 1)
    #lines = bs.decode("utf-8").split('\n')
    lines = bs.split('\n')
    if (lines[0][0:1] == '#'):
        return ret
    for line in lines[header_lines:]:
        cols = line.split()
        if len(cols) == 0:
            return ret
        ret.append(cols[0])
    return ret