Refactoring and commenting MainForm.