add bed input checker to make sure bed files valid for comparison and print out a more sensible error message.  to avoid assertion fails in comparebedstates when inputs dont exactl overlap