moving some checks upstream from define_onset_window
new module for loading data for my LBPB expts, pulling together code like this from various places where it doesn't belong