Your situation doesn't sound unusual to me, and the fact that you're passing gas shows that your bowels are functioning. A lot of guys use a stool softener to prepare for the inevitable bowel movement.
I had bladder spasms, too, and other guys have posted similar experiences. Mine weren't so much painful as they were a feeling that I had to urinate badly, or that I was actually urinating, when that's impossible with a catheter. Medication took care of the problem.
Congratulations on getting to where you are, and best wishes for a swift recovery.