Factor home page

Relativize all links, factor home page template around stat widgets, fix a couple of bugs, etc