small fixes for splits and logging uids to separate file with tgid name.