So I bit the bullet, dug that mess out, and did some plastic welding (yes that's a thing) on the cap to seal it up. I pressed it all back together and left it sitting with fluid in it for a couple of days to test for leaks. All good, so I take the wins where I get them.
Today I installed the new final drive gaiter, new rear brake pads, replacement ABS sensor, set the sensor clearance ( 0.6mm) sleeved the bare wiring where the remains of the old loom plug are, re-routed and oiled the clutch cable and put the spare in the duck-tail compartment, cleaned and lubricated the clutch lever and 'choke' lever, re-routed the 'choke' cable, re-routed the throttle cable (yes, all three were routed badly by Numbnuts), torqued all the brake caliper mounting bolts and foot peg plate bolts, and gave it a test run ... without the muffler. It never lets you forget it's a litre class engine that thing!
Took out my bluetooth speaker and put some music on to keep my spirits up. First track on the list ... Disco Inferno by The Tramps (first line: Burn baby Burn!)