Glad to see you're on the mend Rodburner,
The human body is a fragile thing, the older you get the more you begin to understand that statement.
So far, I've got two artificial hips, a shattered right femur, a huge, i mean huge, kidney stone removed by surgery, a bad rotator cuff on the right shoulder (getting that done first of the year) a severe case of spinal stenosos (narrowing of the spinal column from arthritis) for which I wear a morphine (fentanyl) patch every day, and am going into surgery tomorrow to shatter two kidney stones in the RH kidney with the Lithotrypsy machine.
But you know what? I'm still riding! The moral of that story Rodburner, is hang in there, you will heal and be able to ride again without a third wheel! Work with your physical theapist, they know the deal and can show you the way back to normalty. You'll be on the bike before you know it man!
As far as the leg getting on the peg, rig up some bungee cords, with the right tension, you should be able to snap that leg on the peg smartly! Just watch the right turns if you put the bungees on your bars!!
Keep a positive attitude, good luck on healing quickly!