I've added the comment system. You may find bugs.
How the comment system works:
(as it will when it is complete, but 90% of this is accurate)
Comments load only if you scroll down. Each comment can only be voted up to prevent downvote censoring. If you don't like what someone says, say something more intelligent, more correct. This encourages rational discussion and also forces people to see what they don't like. This is a good thing.
Each comment can have up to four sub-comments and a page can have a comment depth of four. You can always still comment though.
The exception is applied to videos themselves which can have more.
Replying to a comment that has four or more children will slide one comment off. Comments like youtube are not permanent. Removal is probabilistic and inversely proportional to comment score. This leaves the important things to say up on the page.
If you comment or vote while not logged in a modal will log you in or register you and perform the vote or comment submission at the same time. This is all done without reloading the page.
What is missing and likely will be placed in tomorrow:
There are no restrictions on comment depth currently.
Videos need their exception of more comments applied.
Various visual improvements.
Various minor bug fixes
Far future and aspirations:
I also more immediately want to play around with what I call equal spacing comments. Basically, instead of the comments being nested in html they all are on the same level of the document but have an indentation property. There are things you can do visually with that which can't be done with nesting because with nesting a series of comments have their bottom margin and padding add up. You can visually fill the space with borders and shading (this is what voat and gvid do currently) but I wonder if a cleaner look is possible with equal spacing.
I just think it's great that youtube, a large corporation, can't figure out conversational continuity. You can't figure out who's arguing with who on there and any thread just breaks down. But I can manage to solve that problem in a day. This is what the people can do. Suck it youtube.