allow user to pass flat array to get unique elements
allow users to toggle row headers, fix for user passing id val as column