start program changed
fixed a bug where the widget is not closed. layout data structure modified for multi tab.