Updating mainWindow interface.
Fix commit