Hopefully generating useful markov chains.  I don't have a way to test yet, but it was a PITA, and I'm done for the night.  Also, it's 0536, and last time I looked at the clock it was midnight so....yeah.