Fixed: Unable to use general commands when all windows closed.