Added support for starting without any windows.