/closelastwindow?

Is there a /closeallwindows as well?

The one thing that drives me round the bend is not being able to just hit esc a few times to close the open windows that pop up when...