Get right-click menu working for surface plotting
Fix a number of issues related to ordering of floating point data

Note: testing is by a Python script that's not version controlled