Move the actual addition of a tab to the endTask method in SemGenGUI.
General clean up.