changed structure in main
uiexec - runs the game and the window
uiexec - runs the game and the UI-windo