Fix error on bed input with more than 3 fields.
Switch to using sequence names rather than cap names in bed files.