solution to the problem: if there isn't enough space for the window around the peak, shrink the peak!
tidying things up some more... including ChIP-seq processing