The main window won't, for some reason, show the tabbed pane selected. Will try to figure it out later.