Adding licence to mainWindow.rexs