@ GridForm.cs: a fix on plot optimal path