Gonna forewarn you this is something that's been debated and I think that you and mk are going to come down on different sides about the issue. Hubski is definitely rapidly approaching a time when something should be done to free up page space for more comments to see the light of reading, but this might be a little too fast, and not in keeping with what Hubski was made for. Collapsing comments is the same as ignoring them, and removing information from discourse. It's one of the more powerful things setting Reddit dialogue back, and I don't think that a raw implementation of it here will help. I appreciate the time you must have put into this, and it is amazing, but I strongly recommend that you run this by mk before releasing it, and respect his wishes if he asks you to take it down or modify it.