My lack of comments is depressing.  Guess that's what you get when you rewrite a section of code many times over again.