Update
OK, replaced the sensor, still the same. Rode up the Bathgate hills, great roads, and really gave it some stick, it blew half the coolant out over the right side of the bike. Let it cool down and rode slowly home. Decided to remove the thermostat altogether, even though it seems to be woking fine. Filled and bled it, running slightly above halfway on the temp gauge now. Although the thermostat is working, I wonder if it was fully opening when the engine was running., or perhaps opening sometimes fully and not others, unlikely. Anyhow, it's running at what seems to be the correct temperature now
When I checked the temperature of the fan thermostat when it was running hot, it still wasn't very high, the fan wasn't coming on because it seems the thermostatic switch wasn't hot enough, flow on that side was normal or cool, the top hose side was too hot. The rad is clean and not blocked.
When the engine is running, temp gauge just above halfway, no fan, I switch the engine off, then ignition back on, and the fan comes on for 10 seconds or so.
I'll report back after a longer run.
Alan.