@ GridForm.cs: some fixes