mainWindow exp
Params...
Various fixes