This fixes #7671.  It was a mis-spelling of a variable name.
This fixes #7497.  The popup with the x,y coordinates works now.