private void CloseIfNotNull(GuiWidget widget)
		{
			if (widget != null)
			{
				widget.Close();
			}
		}