Ricci flow singularities in dimension four (and higher)