DataTab.get_segments: added unique kwarg

    - write_state_html now prints segments for combination flags