Poked around and fixed a handful of bugs from ringtest.c and also a few
in my ring.c. Still have a weird issue, but I'm not 100% sure if it's a
spec issue or actual bug at this point. I'll have to think about it
later (or just scrap it - probably better to just spend my time on the
scheduler at this point, hah).