I thought I had made some subtle but serious programming error which caused serial
comms to have stopped...
Even though I could compile and upload code in the IDE, there was no response in Serial Monitor.
I was surprised to notice that the core functionality of the code was unaffected
and running normally...
After monkeying around I loaded a previous version of the code , and then
realized that the new instance of Serial Monitor was indeed communicating with the MEGA...
Net conclusion: Close the IDE and re-open it. That fixed the mystery problem / 'bug?'