Adding support for category and channel pages using the URL to switch stats feed. Also fixed some small bugs