Interplay between electron beam instabilities and storage ring FEL dynamics