Updated MainForm.