What are the units for the numbers next to feed and spindle?

This means that your controller is always reporting values as Inches. Default for grbl and almost every OEM config I’ve seen is $13=0 (report in mm). This has no effect on the dimensions of your job, just on how values are reported. gSender seems to assume grbl is reporting in mm (again, default and almost universal), so it’s taking your 40in/min and thinking that it is 40mm/min and doing the appropriate conversion to convert those mm to inches (because you’re in G20 mode) resulting in displaying that your machine is going 25.4 times slower than it is.

That got rambly
short version:
Change $13 = 0

The only difference would be in gSender’s reporting.