Style and show TOC and metadata

I'm still not quite content with how TOC looks like, but at least
metadata looks fine now.