startgui logic improvements