You are lucky the problems seem to be top end only.
OTOH, if you intend to keep the bike, this might not be a bad time bite the bullet, split the cases and put in new crankshaft bearings, and take a very very close look at your crankshaft, including the big end bearing.
Hard to justify spending big bucks splitting cases and doing preventative maintenance on an old bike, but if you do have a catastrophic failure in the lower end, it can destroy the cases, the cylinder, the KIPS valves, etc...
Finally, if you are using the bike on the road or dirt roads, make sure you pull in the clutch when slowing down and avoid engine braking from high speed after a long hard pull through the gears. I learned the hard way a red-hot, pre-mix two stroke dirt bike does not like it when you shut off the throttle and coast from high speed. Heat + rpm - cooling fuel and lube = failure of the weakest link.