Fixed the priority queue comparators, made a front end for trending

Not customized yet, but damn it looks good.