When a project contains a single sprite and that sprite is deleted (leaving a project with no sprites), the editor should allow this.
The editor crashes once all the sprites are deleted, and three errors appear in the console.
Delete all the sprites in a project.
Chrome 62 on Windows 7
Can repro on Chrome 62 on Windows 10. Here's a screenshot of my errors:

a screenshot of the editor is not needed - it simply turns completely blank.
This is a regression. Deleting the last sprite works on master, but not on develop.
Note that the crash only occurs if the sprite is selected when it is deleted -- not if the stage is selected when the last sprite is deleted.
Clarification:
Doesn't crash if you delete the sprite like this:

Does crash if you click the "x" and delete the sprite like this:

It seems to do the the same thing in safari 11.0.1
@redmangospros What doesn't work for you? Most of scratch-gui seems to work as expected on safari. (Apart from this particular bug, which also happens to be a problem on Chrome 62 too.)
Sorry, I meant Internet explorer and IE Edge.
@redmangospros Can you stop deleting your messages? It makes this conversation string really confusing.
Thanks for all the details @sjhuang26 !
Most helpful comment
Clarification:
Doesn't crash if you delete the sprite like this:

Does crash if you click the "x" and delete the sprite like this:
