Consider disposed shells as closed when closing all shells. Fixes #598
Adds waiting for closing New Project shell within EditorBarTest. Fixes #602