You have to open the History panel. Then you can go back up and delete from almost any point up to the opening. Look in the window's menu I think and open history. It looks like a traffic light pictogram and normally should be in the upper right corner above the layers window, depending on how your panels are arranged.