MainForm.cs: Distance thingy now works