Some changes for the mainwidget in StarTrekLayout.